import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { PermissionRoutingModule } from './permission-routing.module';
import { PermissionComponent } from './permission.component';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
import { NzDividerModule } from 'ng-zorro-antd/divider';
import { NodePermitModalComponent } from './node-permit-modal/node-permit-modal.component';
import { PermitPerviewModalComponent } from './permit-perview-modal/permit-perview-modal.component';
import { DepartmentAndRoleComponent } from './department-and-role/department-and-role.component';
import { NzDropDownModule } from 'ng-zorro-antd/dropdown';
import { NzInputModule } from 'ng-zorro-antd/input';
import { TopbarComponent } from './topbar/topbar.component';
import { MenuPanelComponent } from './menu-panel/menu-panel.component';
import { NzGridModule } from 'ng-zorro-antd/grid';
import { NzCollapseModule } from 'ng-zorro-antd/collapse';
import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
import { EditRoleUserModalComponent } from './edit-role-user-modal/edit-role-user-modal.component';
import { NzSpinModule } from 'ng-zorro-antd/spin';
@NgModule({
  declarations: [PermissionComponent, NodePermitModalComponent, PermitPerviewModalComponent, DepartmentAndRoleComponent, TopbarComponent, MenuPanelComponent, EditRoleUserModalComponent],
  imports: [
    CommonModule,
    PermissionRoutingModule,
    NzIconModule,
    NzButtonModule,
    NzCheckboxModule,
    NzDividerModule,
    NzDropDownModule,
    NzInputModule,
    FormsModule,
    NzGridModule,
    NzCollapseModule,
    NzToolTipModule,
    NzSpinModule
  ],
  exports: [
    PermitPerviewModalComponent
  ]
})
export class PermissionModule { }
